﻿using System;
using System.Collections.Generic;
using System.Text;

using H2.NET.Data.Common;
using H2.NET.Data.Common.Mappings;
using H2.NET.Data.Common.Validates;
namespace H2.NET.Business
{
    [Table]
    [Serializable]
    public partial class mdc_spm_TW_Subarea : DataObject
    {
        [Column]
        public string SubareaID { get { return _SubareaID; } set { _SubareaID = value; EntityState.FieldChange("SubareaID"); } } private string _SubareaID; public static FieldInfo subareaID = new FieldInfo("mdc_spm_TW_Subarea", "SubareaID");
        [Column]
        public string SubareaValue { get { return _SubareaValue; } set { _SubareaValue = value; EntityState.FieldChange("SubareaValue"); } } private string _SubareaValue; public static FieldInfo subareaValue = new FieldInfo("mdc_spm_TW_Subarea", "SubareaValue");

        [Column]
        public int Status { get { return _Status; } set { _Status = value; EntityState.FieldChange("Status"); } } private int _Status; public static FieldInfo status = new FieldInfo("mdc_spm_TW_Subarea", "Status");
        [Column]
        public DateTime Time { get { return _Time; } set { _Time = value; EntityState.FieldChange("Time"); } } private DateTime _Time; public static FieldInfo time = new FieldInfo("mdc_spm_TW_Subarea", "Time");
    }
}
